MediaCloud\Plugin\Tools\Storage\Driver\S3\S3Storage D

Total Complexity 191
Dependencies 20
Dependents 0
Total lines 1,085
Lines of code 802
Logical lines of code 426
Comment lines 85
Methods 47
Properties 2

Methods 47

Method Rating Maintainability Complexity Lines of code
validateSettings()
B
36 22 77
dir()
A
40 14 58
getS3Client()
A
43 13 51
upload()
A
42 11 50
ls()
A
44 11 45
signedURLExpirationForType()
A
55 11 18
usesSignedURLs()
A
55 9 19
processWizardSettings()
A
43 6 47
getS3MultiRegionClient()
S
50 7 30
getClient()
S
57 7 19
getBucketRegion()
S
48 6 34
presignedUrl()
S
47 6 34
copy()
S
50 6 28
info()
S
50 5 28
enabled()
S
61 6 11
uploadUrl()
S
56 4 17
presignedRequest()
S
59 4 13
url()
S
62 4 11
configureWizard()
S
45 2 41
createDirectory()
S
51 3 26
delete()
S
56 3 17
deleteDirectory()
S
56 3 17
updateACL()
S
60 2 13
client()
S
71 2 6
exists()
S
70 2 6
fetchWizardInputNames()
S
62 1 12
getOptionsData()
S
65 1 9
enqueueUploaderScripts()
S
77 1 3
validateWizardInput()
S
77 1 3
__construct()
S
75 1 4
region()
S
82 1 3
canUpdateACL()
S
82 1 3
insureACL()
S
91 1 2
identifier()
S
81 1 3
bucket()
S
82 1 3
settingsError()
S
82 1 3
supportsBrowser()
S
82 1 3
settingsErrorOptionName()
S
81 1 3
supportsWildcardDirectUploads()
S
78 1 3
supportsDirectUploads()
S
80 1 3
pathLink()
S
78 1 3
bucketLink()
S
80 1 3
defaultRegion()
S
81 1 3
pathStyleEndpoint()
S
81 1 3
endpoint()
S
81 1 3
name()
S
81 1 3
prepareOptimizationInfo()
S
67 1 8